package learn3;
//泛型编程的语法

//泛型类
public class test1 {
    public static void main(String[] args) {
        myArray<Student> a = new myArray<Student>();
        Student student = new Student("张三", 18, "男", "北京");
        a.setT(student);


        System.out.println(a.getT());
    }
}
